package org.test;

import java.io.Serializable;

public class SeriableObject implements Serializable {

	private static final long serialVersionUID = -6444912067456363938L;

	private transient Long oid;
	private String name;

	public SeriableObject(Long oid, String name) {
		super();
		this.oid = oid;
		this.name = name;
	}

	public Long getOid() {
		return oid;
	}

	public void setOid(Long oid) {
		this.oid = oid;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
	
	@Override
	public String toString(){
		return this.getClass().getName() + "[oid=" + this.oid + ",name=" + this.name + "]";
	}

}
